/**
 * @author 王琪 <wangqi@huizhaofang.com>
 * @since 2020-03-16
 */
package com.diploma.project.aiqiyi.dto;

import com.diploma.project.aiqiyi.model.Video;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@Builder
public class VideoDetailDto {

    private Integer id;

    private String title;

    private String description;

    private Integer category;

    private String tag;

    private String url;

    private String previewImg;

    private Byte type;

    private BigDecimal price;

    private Date createTime;

    private List<Video> recommendVideos;

    private Integer isBuy = 0;

    private Integer isRecommend = 0;

    private Integer duration;


    @Tolerate
    public VideoDetailDto() {
    }
}
